package com.zlsy.springbootdemo.abstractfactory.demo;

import com.zlsy.springbootdemo.abstractfactory.demo.color.Color;
import com.zlsy.springbootdemo.abstractfactory.demo.shape.Shape;

/**
 * @author zhouliang
 * @date 2021/1/22 10:12
 */
public abstract class AbstractFactory {
  /** 获取颜色 */
  public abstract Color getColor(String color);

    /** 获取形状 */
  public abstract Shape getShape(String shape);
}
